import matplotlib.pyplot as plt
import numpy as np
Y, X = np.mgrid[-3:3:100j, -3:3:100j]
U = X**2
V = Y - X + 2
#X lon Y lat U纬度分量 V经度分量
plt.streamplot(X, Y, U, V, linewidth=2)
plt.show()